package com.wudi.estate.bean.ownermanagement;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Pet {
    private long id;
    private String img;
    private String name;
    private String color;
    private String remark;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date adoptTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    private boolean state;
    private long pid;
}
